package com.tuanzi.loan.business.repository.family.custom;

import com.tuanzi.loan.business.entity.common.CommProductChannel;
import com.tuanzi.loan.business.entity.family.LoanChannelNdInfo;
import com.tuanzi.loan.vo.request.family.LargeAmountChannelManageSearchRequest;
import com.tuanzi.loan.vo.response.family.LargeAmountChannelManageSearchResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface LargeAmountChannelManageRepositoryCustom {
    Page<LargeAmountChannelManageSearchResponse> list(LargeAmountChannelManageSearchRequest searchRequest, Pageable pageable);

    Integer updateByEntity(LargeAmountChannelManageSearchRequest request);

    List<String> selectChannel();

    List<CommProductChannel> getChannelInfo(Integer prdid);

    Integer addChannelND(LoanChannelNdInfo info);

    void addBatchChannelNd();

    Integer findCount();

    List<String> selectChannelInfo();
}
